package com.bzkj.web.controller.basic;

import com.bzkj.basicinfo.service.basic.BasicBillsTypeMapService;
import com.bzkj.common.core.domain.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Date 2025/01/02 14:26:09
 * @description 码上放心映射
 */
@RestController
@RequestMapping("basic/billsType")
public class BasicBillsTypeController
{
    @Autowired
    private BasicBillsTypeMapService basicBillsTypeMapService;

    /**
     * 获取所有映射或者根据名称获取映射
     * @param name
     * @return
     */
    @GetMapping("findTypeAllByName")
    public R findTypeAllByName(String name){
        return basicBillsTypeMapService.findTypeAllByName(name);
    }



}
